package com.skydonkey.service;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.skydonkey.pojo.po.Account;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AccountService {


    public Account findByUid(Long uid);

    public Account findByUsername(String username);

    public List<Account> findAll();
    public boolean createAccount(Account account);
    public boolean deleteAccount(Long uid);


}
